<style type="text/css">
table.stats-table {
	font-family: verdana,arial,sans-serif;
	font-size:11px;
	color:#333333;
	border-width: 1px;
	border-color: #999999;
	border-collapse: collapse;
}
table.stats-table th {
	background-color:#c3dde0;
	border-width: 1px;
	padding: 8px;
	border-style: solid;
	border-color: #a9c6c9;
}
table.stats-table tr.odd {
	background-color:#d4e3e5;
}
table.stats-table tr.even {
	background-color:#c4e3e5;
}
table.stats-table td {
	border-width: 1px;
	padding: 8px;
	border-style: solid;
	border-color: #a9c6c9;
}

table.stats-table tr:hover {
	background-color:yellow;
}
</style>

<div class="author-stats">
<!--	<p>Author Statistics</p>
    <hr />-->
    <p style="font-size:15px;"><strong>Books per Author:</strong></p>
	<table class="stats-table" border="thin" style="font-size:13px;">
    	<thead>
        	<tr>
            	<th scope="col"><b>Author Name</b></th>
                <th scope="col"><b>Books</b></th>
            </tr>
        </thead>
        <tbody><? 
		$style="odd";
		foreach($book_count_stat as $key=>$value) {
			echo "<tr class=\"$style\">
					<td>$key</td>
					<td>$value</td>
				  </tr>";
			
			if($style=="odd"){
				$style="even";
			} else {
				$style="odd";
			}
		}?>
        </tbody>
    </table>
    </div>
</div>